<script>
    var initPage11 = function () {
        $("#page-11").css("display", "block");
        $("#page-11").animate({
            'transform': 'translate(0, 0)',
            '-webkit-transform': 'translate(0, 0)'
        }, 800, "linear");
        var mySwiper = new Swiper('.swiper-container', {
            direction: 'horizontal',
            slidesPerView: 7,
            initialSlide: 3,
            centeredSlides: true,
            effect: 'coverflow',
            coverflow: {
                depth: 130,
                rotate: 0,
                slideShadows: false,
                modifier: 2,
                stretch: -5
            },
            onClick: function (swiper) {
                console.log(swiper.clickedIndex);

                switch (swiper.clickedIndex) {
                    case 0:
                        initPage12();
                        break;
                    case 1:
                        initPage18();
                        break;
                    case 2:
                        initPage15();
                        break;
                    case 3:
                        initPage13();
                        break;
                    case 4:
                        initPage14();
                        break;
                    case 5:
                        initPage17();
                        break;
                    case 6:
                        initPage16();
                        break;
                }
            }
        });


        $("#page-11 .click-area").on("click", function () {
            window.location.href = "http://shellrev.weixinzjit.com/index/shell";
            return false;
        });
    }

</script>